package cn.wolfcode.wolf2w.business.service;

import cn.wolfcode.wolf2w.api.domain.Question;
import cn.wolfcode.wolf2w.business.query.QuestionQuery;
import cn.wolfcode.wolf2w.business.vo.QuestionCreateVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 问答Service接口
 * 
 * @author 浪兎兎
 * @date 2025-06-07
 */
public interface IQuestionService extends IService<Question>{
    /**
    * 分页
    * @param qo
    * @return
    */
    IPage<Question> queryPage(QuestionQuery qo);

    void create(QuestionCreateVO vo);

    Question selectById(Long id);

    void questionPersistence();

    void focus(Long id);

    void unfocus(Long id);

    void reSendQuestionMessage();

    Long giveLike(Long id);
}
